<%@ page language="java" import="java.util.*" contentType="text/html;charset=utf-8" %>
<%@ taglib uri="/struts-tags" prefix="s"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<%@ taglib uri="/struts-tags" prefix="s"%>


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<script type="text/javascript" src="<%=basePath %>js/jquery.js"></script>
<title>考试系统</title>
<style type="text/css">
<!--
body {
	margin-left: 3px;
	margin-top: 0px;
	margin-right: 3px;
	margin-bottom: 0px;
}
.STYLE1 {
	color: #e1e2e3;
	font-size: 12px;
}
.STYLE6 {color: #000000; font-size: 12; }
.STYLE10 {color: #000000; font-size: 12px; }
.STYLE19 {
	color: #344b50;
	font-size: 12px;
}
.STYLE21 {
	font-size: 12px;
	color: #3b6375;
}
.STYLE22 {
	font-size: 12px;
	color: #295568;
}
-->
</style>
		<script type="text/javascript">
		
		function info(i){
			window.open("../Teacher/TeacherAction!programInfo.action?id="+i,"",""); 
			//location.href="../Teacher/TeacherAction!programInfo.action?id="+id;
		}
		</script>
</head>
<body>
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td height="30"><table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td height="24" bgcolor="#353c44"><table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td width="6%" height="19" valign="bottom"><div align="center"><img src="images/tb.gif" width="14" height="14" /></div></td>
                <td width="94%" valign="bottom"><span class="STYLE1"> 学生分数基本信息列表</span></td>
              </tr>
            </table></td>
            <td><div align="right"></div></td>
          </tr>
        </table></td>
      </tr>
    </table></td>
  </tr>
  <tr>
    <td><table width="100%" border="0" cellpadding="0" cellspacing="1" bgcolor="#a8c7ce">
    
        <tr>
<div id='search_bar'>
    <form enctype="application/x-www-form-urlencoded" action="<%=request.getContextPath()%>/Teacher/TeacherAction!StuScore.action" method='get'>
        
            <label>试卷编号 </label>
            	<input type='text' name='proanswer.paper.id' class='input_text' style='margin-left:12px;' />
               
           <label>试卷名称</label>           
                   <input type='text' name='proanswer.paper.papername' class='input_text' style='margin-left:12px;' />
            
            <label>考生姓名 </label>
            	<input type='text' name='proanswer.user.username' class='input_text' style='margin-left:12px;' />    
            <input type='submit' value='查询' class='mysubmit' />     
    </form>
</div>
    </tr>
    
      <tr>
        <td width="10%" height="20" bgcolor="d3eaef" class="STYLE6"><div align="center"><span class="STYLE10">试卷编号</span></div></td>
        <td width="20%" height="20" bgcolor="d3eaef" class="STYLE6"><div align="center"><span class="STYLE10">试卷名称</span></div></td>
        <td width="10%" height="20" bgcolor="d3eaef" class="STYLE6"><div align="center"><span class="STYLE10">考生昵称</span></div></td>
        <td width="10%" height="20" bgcolor="d3eaef" class="STYLE6"><div align="center"><span class="STYLE10">考生姓名</span></div></td>
        <td width="15%" height="20" bgcolor="d3eaef" class="STYLE6"><div align="center"><span class="STYLE10">考生学院</span></div></td>
        <td width="15%" height="20" bgcolor="d3eaef" class="STYLE6"><div align="center"><span class="STYLE10">考生学号</span></div></td>
        <td width="10%" height="20" bgcolor="d3eaef" class="STYLE6"><div align="center"><span class="STYLE10">所得分数</span></div></td>
        <td width="10%" height="20" bgcolor="d3eaef" class="STYLE6"><div align="center"><span class="STYLE10">
        
      		&nbsp; &nbsp; 查看
        	</span></div></td>
      </tr>
      
      <s:iterator value="paperPage.list" id="proanswer">
	  <tr>
        <td height="20" bgcolor="#FFFFFF" class="STYLE19"><div align="center"><s:property value="#proanswer[0]" /> </div></td>
        <td height="20" bgcolor="#FFFFFF" class="STYLE19"><div align="center"><s:property value="#proanswer[1]" /></div></td>
        <td height="20" bgcolor="#FFFFFF" class="STYLE19"><div align="center"><s:property value="#proanswer[2]" /></div></td>
        <td height="20" bgcolor="#FFFFFF" class="STYLE19"><div align="center"><s:property value="#proanswer[3]" /></div></td>
        <td height="20" bgcolor="#FFFFFF" class="STYLE19"><div align="center"><s:property value="#proanswer[4]" /></div></td>
        <td height="20" bgcolor="#FFFFFF" class="STYLE19"><div align="center"><s:property value="#proanswer[5]" /></div></td>
        <td height="20" bgcolor="#FFFFFF" class="STYLE19"><div align="center"><s:property value="#proanswer[6]" /></div></td>
		<td height="20" bgcolor="#FFFFFF"><div align="center"><span class="STYLE21">
			
		<a href="<%=request.getContextPath()%>/Exam/ExamAction!paperInfo.action?id=<s:property value="#proanswer[0]" />&uid=<s:property value="#proanswer[7]" /> " >详细</a>
			
		</span></div></td>
	  </tr>
	  </s:iterator>
    </table></td>
  </tr>
</table>

	<div id='page'>
		
    <a href="<%=request.getContextPath()%>/Teacher/TeacherAction!StuScore.action?currentpage=1&pagesize=30&proanswer.paper.id=${proanswer.paper.id}&proanswer.paper.papername=${proanswer.paper.papername}&proanswer.user.username=${proanswer.user.username}">First Page</a>
    <a href="<%=request.getContextPath()%>/Teacher/TeacherAction!StuScore.action?currentpage=${paperPage.currentpage-1}&pagesize=30&proanswer.paper.id=${proanswer.paper.id}&proanswer.paper.papername=${proanswer.paper.papername}&proanswer.user.username=${proanswer.user.username}">Prev Page</a>
    <a href="<%=request.getContextPath()%>/Teacher/TeacherAction!StuScore.action?currentpage=${paperPage.currentpage}&pagesize=30&proanswer.paper.id=${proanswer.paper.id}&proanswer.paper.papername=${proanswer.paper.papername}&proanswer.user.username=${proanswer.user.username}">[${paperPage.currentpage}]</a>
    <a href="<%=request.getContextPath()%>/Teacher/TeacherAction!StuScore.action?currentpage=${paperPage.currentpage+1}&pagesize=30&proanswer.paper.id=${proanswer.paper.id}&proanswer.paper.papername=${proanswer.paper.papername}&proanswer.user.username=${proanswer.user.username}">[${paperPage.currentpage+1}]</a>
    <a href="<%=request.getContextPath()%>/Teacher/TeacherAction!StuScore.action?currentpage=${paperPage.currentpage+2}&pagesize=30&proanswer.paper.id=${proanswer.paper.id}&proanswer.paper.papername=${proanswer.paper.papername}&proanswer.user.username=${proanswer.user.username}">[${paperPage.currentpage+2}]</a>
    <a href="<%=request.getContextPath()%>/Teacher/TeacherAction!StuScore.action?currentpage=${paperPage.currentpage+3}&pagesize=30&proanswer.paper.id=${proanswer.paper.id}&proanswer.paper.papername=${proanswer.paper.papername}&proanswer.user.username=${proanswer.user.username}">[${paperPage.currentpage+3}]</a>
    <a href="<%=request.getContextPath()%>/Teacher/TeacherAction!StuScore.action?currentpage=${paperPage.currentpage+1}&pagesize=30&proanswer.paper.id=${proanswer.paper.id}&proanswer.paper.papername=${proanswer.paper.papername}&proanswer.user.username=${proanswer.user.username}">Next Page</a>
    <a href="<%=request.getContextPath()%>/Teacher/TeacherAction!StuScore.action?currentpage=${paperPage.totalpagecount}&pagesize=30&proanswer.paper.id=${proanswer.paper.id}&proanswer.paper.papername=${proanswer.paper.papername}&proanswer.user.username=${proanswer.user.username}">Last Page</a>
        <span>当前第${paperPage.currentpage}/${paperPage.totalpagecount}页</span>
   
	</div>
</body>
</html>
